using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;

namespace WebSMS;

[Keyless]
public class UserForm
{
    
    public Guid UserId { get; set; }
    [Required]
    public string? Username { get; set; }
    [Required]
    public string? Password { get; set; } = null;
    [Required]
    [EmailAddress]
    public string? Email { get; set; }
    [Required]
    [Phone]
    public string? Phone { get; set; }
    public bool IsActive { get; set; }
    public bool IsDeleted { get; set; }
    public string? CreateDate { get; set; }   
    public string? BanDate { get; set; }
    public string? DeleteDate { get; set; }
  
    public List<Guid>? Rules { get; set; } = new List<Guid>();
}